#ifndef STDAFX_H
#define STDAFX_H
#define ID_SETSCALE						33825
#include <QtGui>
#include <QtNetwork>
#include <QtXml>


#include  <vector>
#include "resource.h"
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
//#include <stdio.h>
//#include "sys\stat.h"
//#include <iostream>
#include <math.h>
//#include <stdlib.h>
#include "Shlobj.h"

extern "C" {
//#include "jpeglib.h"
}
//#include "jpeglib.h"

/*
#pragma comment (lib, "dcmimgle.lib")
#pragma comment (lib, "ofstd.lib")
#pragma comment (lib, "dcmdata.lib")
#pragma comment (lib, "dcmimage.lib") 
#pragma comment (lib, "dcmjpeg.lib")
#pragma comment (lib, "ijg8.lib")
#pragma comment (lib, "ijg12.lib")
#pragma comment (lib, "ijg16.lib")
*/
//#pragma comment (lib, "zlib.lib")
//#include "jpeglib16.h"

//#include <stdafx2.h>
//#include <jpeglib.h>


#ifndef WINVER				// Allow use of features specific to Windows XP or later.
#define WINVER 0x0501		// Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.                   
#define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
#endif						

#ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#endif

#include <GdiPlus.h>
using namespace Gdiplus;
#pragma comment(lib, "GdiPlus.lib")

//CRT_SECURE_NO_WARNINGS

